package com.lanchetech.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@MapperScan({"com.lanchetech.dao", "com.baidu.fsg.uid.worker.dao"})
@ComponentScan("com.lanchetech")
@SpringBootApplication
@EnableScheduling
@EnableAsync //开启异步注解功能
public class HipoAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(HipoAdminApplication.class, args);
    }

}
